﻿
@{
    ViewBag.Title = "Select";
    Layout = "~/Views/Shared/_ContentLayout.cshtml";
}

<div id="s1">
</div>
<script type="text/javascript">
    BUI.use('bui/select', function (Select) {
        
        $.post('@Url.Action("getselect", "common")', { selectType: 1 }, function (result) {
            var suggest = new Select.Suggest({
                render: '#s1',
                name: 'suggest',
                data: result
            });
            suggest.render();

            $("#suggest").val("123");
            $("#suggest").attr("autocomplete", "off");
        });

    });
</script>